import Vue from 'vue'
import VueRouter from 'vue-router'
import ConTent from '@/views/ConTent'




Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: ConTent,
    children: [
      {
        path: 'mv',
        name: 'mv',
        component: () => import('@/views/MvView')
      },
      {
        path: 'discovery',
        name: 'discovery',
        component: () => import('@/views/DiScovery')
      }
    ]

  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  silent: true,
  routes
})

export default router
